home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
CSPDI.z
/
CSPDI
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
CCCCSSSSPPPPDDDDIIII((((3333FFFF)))) CCCCSSSSPPPPDDDDIIII((((3333FFFF))))
NNNNAAAAMMMMEEEE
CSPDI - CSPDI computes the determinant and inverse of a complex
symmetric matrix using the factors from CSPFA, where the matrix is stored
in packed form.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE CSPDI(AP,N,KPVT,DET,WORK,JOB)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
AAAAPPPP COMPLEX (N*(N+1)/2)
the output from CSPFA.
NNNN INTEGER
the order of the matrix A . KVPT INTEGER(N)
the pivot vector from CSPFA.
WWWWOOOORRRRKKKK COMPLEX(N)
work vector. Contents ignored.
JJJJOOOOBBBB INTEGER
JOB has the decimal expansion AB where
if B .NE. 0, the inverse is computed,
if A .NE. 0, the determinant is computed.
For example, JOB = 11 gives both. On Return Variables not requested
by JOB are not used.
AAAAPPPP contains the upper triangle of the inverse of
the original matrix, stored in packed form.
The columns of the upper triangle are stored
sequentially in a one-dimensional array.
DDDDEEEETTTT COMPLEX(2)
determinant of original matrix.
Determinant = DET(1) * 10.0**DET(2)
with 1.0 .LE. ABS(DET(1)) .LT. 10.0
or DET(1) = 0.0. Error Condition
AAAA division by zero will occur if the inverse is requested and CSPCO has
set RCOND .EQ. 0.0 or CSPFA has set INFO .NE. 0 . LINPACK. This
version dated 08/14/78 . James Bunch, Univ. Calif. San Diego, Argonne
Nat. Lab. Subroutines and Functions BLAS CAXPY,CCOPY,CDOTU,CSWAP Fortran
ABS,CMPLX,IABS,MOD,REAL
PPPPaaaaggggeeee 1111